package com.yiyuan.system.dao;

import java.util.List;

import com.yiyuan.system.model.Employee;

public interface IEmpDao {
	public void add(Employee employee);

	public List<Employee> findList(int startIndex, int endIndex,String empName,Integer deptId);

	public int getPageCount(String empName,Integer deptId);

	public void update(Employee employee);

	public void delete(Employee employee);

	public Employee get(Integer empId);
	
	public List<Employee> findListByDeptId(Integer deptId);
}
